import Vue from 'vue'
import VueRouter from 'vue-router'
import Cart3 from '../views/Cart3.vue'
import index from '../views/Index.vue'
import Xszz from '../views/Xszz.vue'



Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: index
  },
  {
    path: '/xszz',
    name: 'xszz',
    component: Xszz
  },
  {
    path:'/sciqf-zi',
    component:()=>import('../views/Sciqf_zi.vue')
  },
  {
    path:'/sciqf',
    component:()=>import('../views/Sciqf.vue')
  },
  {
    path: '/cart3',
    name: 'cart3',
    component: Cart3
  },
  {
    path: '/cart2',
    name: 'cart2',
    component: () => import('../views/Cart2.vue')
  },
  {
    path: '/cart1',
    name: 'cart1',
    component: () => import('../views/Cart1.vue')
  },
  {
    path: '/ghmm',
    name: 'ghmm',
    component: () => import('../views/10_grzx_ghmm.vue')
  },
  {
    path: '/jbsz',
    name: 'jbsz',
    component: () => import('../views/10_grzx_jbsz.vue')
  },
  {
    path: '/qksc',
    name: 'qksc',
    component: () => import('../views/10_grzx_qksc.vue')
  },
  {
    path: '/wddd',
    name: 'wddd',
    component: () => import('../views/10_grzx_wddd.vue')
  },
  {
    path: '/grzx',
    name: 'grzx',
    component: () => import('../views/10_grzx.vue')
  },
  {
    path: '/shdz',
    name: 'dhdz',
    component: () => import('../views/10_wddd_shdz.vue')
  },
  {
    path: '/gywm',
    name: 'gywm',
    component: () => import('../views/11_gywm.vue')
  },
  // route level code-splitting
  // this generates a separate chunk (about.[hash].js) for this route
  // which is lazy-loaded when the route is visited
  //component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
